
package cfar.ff.interfaces;

import cfar.ff.fun.F1;
import cfar.ff.fun.F2;
//import static cfar.ff.fun.F1W.$;
//import static cfar.ff.fun.F2W.$$;

/**
 *
 * @author badi
 */
public class Cats {

    public static <F,A,B> F2<F1<A,B>, Functor<F,A>, Functor<F,B>> fmap () {
        return new F2<F1<A,B>, Functor<F,A>, Functor<F,B>>() {

            public Functor<F, B> f(F1<A, B> f, Functor<F, A> F) {
                return F.fmap(f);
            }
        };
    }

}
